package gll.pub.onepeas.util

import java.util.regex.Pattern

fun String.isPhone():Boolean{
    val patternStr = "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0,5-9]))\\d{8}\$"
    return Pattern.matches(patternStr, this)
}
